<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1" import="java.util.*,sql.SQLs,java.sql.*"%>
<jsp:useBean id="berufsfelder" class="guis.Berufsfelder"
	scope="application"></jsp:useBean>
<jsp:useBean id="kursreg" class="guis.Kursreg" scope="session"></jsp:useBean>	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Kurs registrieren</title>
<link rel="stylesheet" type="text/css" href="formate.css">
<style type="text/css">
/* ... hier sind dateispezifische Formate erlaubt ... */
</style>
</head>
<body>
	<div id="wrapper">
		<div id="header">
			<div id="logo">
				<h1><a>Feedbacktool</a></h1>
			</div>
			<div id="menu">
				<ul>
					<li class="first active"><a>Baumann</a></li>
					<li><a>Strebel</a></li>
					<li><a>Widmer</a></li>
					<li><a> Benyamini</a></li>
				</ul>
				<br class="clearfix" />
			</div>
		</div>
		<div id="page">
			<div id="sidebar">
				<img class="alignleft" src="santis.jpg" width="235" height="220" alt="" />
			</div>
			<div id="content">
				<div class="box">
				<form action="/SVNFeedbackTool/KursRegistrierenVorschau.jsp" method="post"
					accept-charset="ISO-8859-1">
					<p>
						Modulnummer:<br> <input name="modulnummer" size="20" value="<%= kursreg.getModulnummer()== null?"":kursreg.getModulnummer()%>">
					</p>
					<p>
						Kursname:<br> <input name="kursname" size="20" value="<%= kursreg.getKursname()== null?"":kursreg.getKursname()%>">
					</p>
					<p>
						Berufsfeld:<br>
					</p>
					<select name="berufsfeld" value="<%= kursreg.getBerufsfeld()== null?"":kursreg.getBerufsfeld()%>">
						<%
							for (String b : berufsfelder.getBerufsfelder()) {
						%>
						<option value="<%=b.substring(b.lastIndexOf(",") + 1)%>"><%=b.substring(0, b.lastIndexOf(","))%></option>
						<%
							}
						%>
					</select>
					<p>
						Startdatum:<br> <input type="text" name="startdatum" value="<%= kursreg.getStartdatum()== null?"":kursreg.getStartdatum()%>">
					</p>
					<p>
						Enddatum:<br> <input type="text" name="enddatum" value="<%= kursreg.getEnddatum()== null?"":kursreg.getEnddatum()%>">
					</p>
					<p>
						<input type="submit" value="Abschicken">
					</p>
				</form>
				</div>
				<br class="clearfix" />
			</div>
			<br class="clearfix" />
		</div>
		<div id="page-bottom">
			
		</div>
	</div>
	<div id="footer">
		&copy; 2012 Untitled | Design by BSWB | Feedbacktool</a>
	</div>
</body>
</html>